(woman-parse-colon-path): Return a list even if there's only one directory
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Mar 2009 14:35:53 +0000 (14:35 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Mar 2009 14:35:53 +0000 (14:35 +0000)
in PATHS.

lisp/woman.el

index d739f64bf069747cb118b8fff45392d826a2b836..5fbb5ef6fdb6c622a78b35c4bdd798c5deba93c4 100644 (file)
@@ -468,7 +468,7 @@ As a special case, if PATHS is nil then replace it by calling
              (parse-colon-path paths)))
            ((string-match "\\`[a-zA-Z]:" paths)
             ;; Assume single DOS-style path...
-            paths)
+            (list paths))
            (t
             ;; Assume UNIX/Cygwin-style path-list...
             (woman-mapcan              ; splice list into list